package com.lyk.coursearrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_stages")
@Builder
public class Stages extends Model<Stages> {
    private static final long serialVersionUID=1L;

    /**
     * 分期id
     */
    @TableId(value = "stages_id", type = IdType.AUTO)
    private Long stagesId;

    /**
     * 付款金额
     */
    @TableField("stages_money")
    private String stagesMoney;

    /**
     * 付款时间
     */
    @TableField("stages_date")
    private String stagesDate;

    @TableField("pay_type")
    private Integer payType;

    @TableField(exist = false)
    private String payType2;

    @TableField("type")
    private Integer type;


}
